% Test `@RankingSupportVectorMachine`

%%

clear classes
clc

%%

generate_dataset_iris;

%%

rsvm = RankingSupportVectorMachine();

%%

rsvm.build(ds.dmX.mat, ds.dmY.mat);

%%

result = rsvm.apply(ds.dmX.mat, ds.dmY.mat);

%%

result = CommonMultiLabelMetric.calc(ds.dmY.mat, ...
    result.Y_hat, result.Y_out);
